diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx index 1d7786a5..e7109dcb 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx @@ -10,6 +10,7 @@ import { VendorsInvestigationTable } from "@/lib/vendor-investigation/table/inve import { getVendorsInvestigation } from "@/lib/vendor-investigation/service" import { searchParamsInvestigationCache } from "@/lib/vendor-investigation/validations" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" interface IndexPageProps { searchParams: Promise<SearchParams> } @@ -17,6 +18,8 @@ interface IndexPageProps { export default async function IndexPage(props: IndexPageProps) { const searchParams = await props.searchParams const search = searchParamsInvestigationCache.parse(searchParams) + const {lng} = await props.params + const {t} = await useTranslation(lng, 'menu') const validFilters = getValidFilters(search.filters) @@ -35,7 +38,7 @@ export default async function IndexPage(props: IndexPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 협력업체 실사 관리 + {t('menu.vendor_management.investigation')} </h2> <InformationButton pagePath="evcp/vendor-investigation" /> </div> |
